import axios from 'axios';

const API_URL = '/api/stock/';

export const getStockItems = () => axios.get(API_URL);
export const addStockIn = (item) => axios.post(`${API_URL}in/`, item);
export const addStockOut = (item) => axios.post(`${API_URL}out/`, item);
export const getStockLogs = () => axios.get(`${API_URL}logs/`);